package com.pktechan.manage.service.impl;


import com.pktechan.manage.base.BaseMapper;
import com.pktechan.manage.base.BaseServiceImpl;
import com.pktechan.manage.dao.CloudPointMapper;
import com.pktechan.manage.entity.CloudPoint;
import com.pktechan.manage.service.CloudPointService;
import com.pktechan.manage.vo.CloudPointVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("cloudPointService")
public class CloudPointServiceImpl extends BaseServiceImpl<CloudPoint> implements CloudPointService {

    @Autowired
    private CloudPointMapper cloudPointMapper;

    /**
     * 由业务类实现
     *
     * @return
     */
    @Override
    public BaseMapper<CloudPoint> getBaseMapper() {
        return cloudPointMapper;
    }

    /**
     * 查询客户积分管理列表
     * @param cloudPointVo
     * @return
     */
    @Override
    public List<CloudPointVo> getCloudPointVoList(CloudPointVo cloudPointVo) {
        return cloudPointMapper.getCloudPointVoList(cloudPointVo);
    }
}
